$("#logout").click(function () {
    console.log("logout");

    const url = getUrl();

    $.ajax({
        url:url+"logout",
        data:{},
        type: "get",
        contentType: "application/json",
        success: function(map) {
            location.href="../login.html";
        },
        error:function(){
            console.log("----------")
        }
    })
})